#include <stdio.h>
void main()
{
	double a,b,c;
	scanf("%lf,%lf",&a,&b);
	c=a+b;
	printf("%lf",c);
}
